//
//  MazeGAppDelegate.m
//  MazeG
//
//  Created by cdh on 11/2/09.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import "MazeGAppDelegate.h"

@implementation MazeGAppDelegate

@synthesize window;
@synthesize homeViewController;


- (void)applicationDidFinishLaunching:(UIApplication *)application {    

    // Override point for customization after application launch
	
	// set up home view controller
	HomeViewController * viewController = [[HomeViewController alloc] init];
	self.homeViewController = viewController;
	[viewController release];
	homeViewController.view.frame = [UIScreen mainScreen].applicationFrame;
	
	[window addSubview: [homeViewController view]];
	
    [window makeKeyAndVisible];
}


- (void)dealloc {
    [window release];
	[homeViewController release];
    [super dealloc];
}


@end
